package cn.qidisoft.edu.hzjt.model.zyc;

import org.springframework.web.multipart.MultipartFile;

import java.io.InputStream;
import java.util.List;

public class SchoolMagazineAtt {

    private Integer fileId;
    //父对象ID
    private Integer parentId;
    //文件名
    private String fileName;
    //文件路径
    private String filePath;
    //文件大小
    private String fileSize;
    //扩展名
    private String extension;
    //文件类型
    private String contentType;
    //排序
    private Integer orders;

    //其他保存时使用，辅助字段
    //uuid
    private String gid;
    //文件
    private MultipartFile mufile;
    //文件流
    private InputStream inputStream;
    //文件系统名称
    private String sysfilepath;

    private List<SchoolMagazineAtt> list;

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getExtension() {
        return extension;
    }

    public void setExtension(String extension) {
        this.extension = extension;
    }

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    public Integer getOrders() {
        return orders;
    }

    public void setOrders(Integer orders) {
        this.orders = orders;
    }

    public String getGid() {
        return gid;
    }

    public void setGid(String gid) {
        this.gid = gid;
    }

    public MultipartFile getMufile() {
        return mufile;
    }

    public void setMufile(MultipartFile mufile) {
        this.mufile = mufile;
    }

    public InputStream getInputStream() {
        return inputStream;
    }

    public void setInputStream(InputStream inputStream) {
        this.inputStream = inputStream;
    }

    public String getSysfilepath() {
        return sysfilepath;
    }

    public void setSysfilepath(String sysfilepath) {
        this.sysfilepath = sysfilepath;
    }

    public List<SchoolMagazineAtt> getList() {
        return list;
    }

    public void setList(List<SchoolMagazineAtt> list) {
        this.list = list;
    }
}
